<template>
  <h1>分数阈值查询</h1>
  <el-table :data="tableData" height="500" border style="width: 100%">
    <el-table-column label="序号" width="200">
      <template v-slot="scope">
        {{ scope.$index + 1 }}
      </template>
    </el-table-column>
    <el-table-column prop="Area" label="住房面积" width="200">
    </el-table-column>
    <el-table-column prop="Score" label="最低住房阈值分数" width="200">
    </el-table-column>
  </el-table>
</template>

<script>
export default {
  data() {
    return {
      tableData: [],
  };
  },
  mounted() {
    this.$http
      .get("api/auth/standardscore")
      .then((response) => (this.tableData = response.data));
  },
}
</script>